<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.jqb.jsplab.vo.Student"%>
<%@ taglib uri="http://www.jqb.com/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>JSTL</title>
	</head>
	<body>
		<jsp:include page="/jspdemo/header.jsp" />
		<jsp:useBean id="student" class="com.jqb.jsplab.vo.Student" />
		<jsp:setProperty name="student" property="id" value="25" />
		<jsp:setProperty name="student" property="name" value="admin" />
		<br>
		<table border="1" cellspacing="0">
			<tr>
				<td colspan="2"><c:out value="FKING JSTL" />
				</td>
			</tr>
			<tr>
				<td>id:</td>
				<td>${pageScope.student.id }</td>
			</tr>
			<tr>
				<td>name:</td>
				<td><c:out value="${student.name}" /></td>
			</tr>
		</table>
	</body>
</html>